home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / config / i386 / lynx-ng.h < prev    next >
C/C++ Source or Header  |  1994-09-23  |  1KB  |  37 lines

  1. /* Definitions for Intel 386 running LynxOS, using Lynx's old as and ld.
  2.    Copyright (C) 1993 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU CC.
  5.  
  6. GNU CC is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU CC is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU CC; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #include "i386/gstabs.h"
  21. #include "lynx-ng.h"
  22.  
  23. #undef CPP_PREDEFINES
  24. #define CPP_PREDEFINES "-Dunix -Di386 -DI386 -DLynx -DIBITS32 -Asystem(unix) -Asystem(lynx) -Acpu(i386) -Amachine(i386)"
  25.  
  26. /* Provide required defaults for linker switches.  */
  27.  
  28. #undef LINK_SPEC
  29. #define LINK_SPEC "-P1000 %{msystem-v:-V} %{mcoff:-k}"
  30.  
  31. /* Apparently LynxOS clobbers ebx when you call into the OS.  */
  32.  
  33. #undef CALL_USED_REGISTERS
  34. #define CALL_USED_REGISTERS \
  35. /*ax,dx,cx,bx,si,di,bp,sp,st,st1,st2,st3,st4,st5,st6,st7,arg*/ \
  36. {  1, 1, 1, 1, 0, 0, 0, 1, 1,  1,  1,  1,  1,  1,  1,  1,  1 }
  37.